<div class="register">
	<form class="d-b ta-c" name="form">
		<div class="form-group ta-l p-r">
			<span class="icon account d-ib fl"></span>
			<input ng-model="user.phone" validator='phone,required' type="text" placeholder="请输入手机号">
		</div>
		<div class="form-group ta-l p-r">
			<span class="icon lock d-ib fl"></span>
			<input ng-model="user.password" validator='password,required' type="password" placeholder="设置6位以上密码">
		</div>
		<div class="message-wrap ta-l p-r">
			<input validator='required' ng-model="user.code" class="message-box" type="text"  placeholder="短信验证码">
			<span class="message fr {{time&&'disable'}}" ng-click="time?1==1:send()" ng-bind="time?time:'发送短信'"></span>
		</div>
		<button ui-sref='login' class="d-b btn-login">登陆</button>
		<button class="d-b btn-register" validation-submit="form" ng-click="submit()">注册</button>
	</form>
</div>